<h2>View User <?php echo $user->name; ?></h2>

<table class="dataGrid">
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('name')); ?>
</th>
    <td><?php echo CHtml::encode($user->name); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('password')); ?>
</th>
    <td><?php echo CHtml::encode($user->password); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('petNum')); ?>
</th>
    <td><?php echo CHtml::encode($user->petNum); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('activePet')); ?>
</th>
    <td><?php echo CHtml::encode($user->activePet); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('location')); ?>
</th>
    <td><?php echo CHtml::encode($user->location); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('win')); ?>
</th>
    <td><?php echo CHtml::encode($user->win); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('lose')); ?>
</th>
    <td><?php echo CHtml::encode($user->lose); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('reputation')); ?>
</th>
    <td><?php echo CHtml::encode($user->reputation); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('money')); ?>
</th>
    <td><?php echo CHtml::encode($user->money); ?>
</td>
</tr>
<tr>
	<th class="label"><?php echo CHtml::encode($user->getAttributeLabel('createDt')); ?>
</th>
    <td><?php echo CHtml::encode($user->createDt); ?>
</td>
</tr>
</table>
